<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class AddColumnOpratorNameAndTargetIdAndPayChannelToPriceListsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('price_lists', function (Blueprint $table) {
            $table->string('oprator_name', 50);
            $table->string('target_Id', 100)->nullable();
            $table->string('user_name', 50)->nullable();
            $table->string('pay_channel', 100)->nullable();
            $table->string('recharge_type')->nullable();
            $table->string('pay_seq', 100)->nullable();
            $table->string('card_no', 100)->nullable();
            $table->text('extend')->nullable();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::table('price_lists', function (Blueprint $table) {
            //
        });
    }
}
